package zt.song.shopping.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName t_order_item
 */
@TableName(value ="t_order_item")
@Data
public class OrderItem implements Serializable {
    /**
     * 订单明细id
     */
    @TableId(value = "tid", type = IdType.AUTO)
    private Integer tid;

    /**
     * 订单号
     */
    @TableField(value = "ordernum")
    private String ordernum;

    /**
     * 商品id
     */
    @TableField(value = "gid")
    private Integer gid;

    /**
     * 商品数量
     */
    @TableField(value = "gamount")
    private Integer gamount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}